<template>
  <div id="home">
    <el-button type="primary">主要按钮</el-button>
  </div>
</template>

<script>
  import { mapState,mapActions } from 'vuex'
  export default {
    name: "home",
    data() {
      return {}
    },
    mounted(){
      let vm = this;
      vm.getAu();
    },
    computed: {
      ...mapState(['title','au'])
    },
    methods:{
      ...mapActions(['getAu'])
    }
  }
</script>

<style scoped>

</style>
